package com.feynman.pattern.factory.abstractfactory;

import com.feynman.pattern.factory.Huawei;
import com.feynman.pattern.factory.Phone;

/**
 * @ClassName HuaweiFactory
 * @Description 华为工厂
 * @Author Feynman
 * @date 2019/3/26 14:36
 * @Version V1.0
 **/
public class HuaweiFactory implements AbstractFactory {

    @Override
    public Phone productPhone() {
        return new Huawei();
    }

    @Override
    public NoteBookPC productNotebookPC() {
        return new MateBook();
    }

    @Override
    public Watch productWatch() {
        return new HuaweiWacth();
    }
}
